home *** CD-ROM | disk | FTP | other *** search
- 177
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- WindowDepth
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWindowDepth gets the z-order depth of the specified window.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baWindowDepth( WinHandle )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- WinHandle is the handle to get the depth of.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns the depth, or 0 if WinHandle doesn't exist.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set depth = baWindowDepth( baWinHandle() )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- depth := baWindowDepth( baWinHandle() )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Only windows that are visible are counted in the depth. If a window's state is
- --- RECORDSEPARATOR ---
- hidden, then it will be ignored by this function. Windows that are set as topmost or
- --- RECORDSEPARATOR ---
- stay-on-top will be counted before normal windows - even if they are minimised.